package games.gong.durid.dto;

/**
 * @ClassName LoginRequest
 * @PackageName games.gong.durid.dto
 * @projectName springboot
 * @Description TODO
 * @Author games
 * @Date 2025/8/19 下午4:27
 * @Version 1.0
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Null;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class RegisterDTO {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @Email(message = "邮箱格式不正确")
    private String email;
}

